package com.xiaow.springsecuriydemo.entity;

import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiaow
 * @since 2022-09-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Trading implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    /**
     * 用户id
     */
    private Long userid;

    /**
     * 货物id
     */
    private Long goodsid;

    /**
     * 总消费
     */
    private Double money;

    /**
     * 购买时间
     */
    private LocalDateTime ctime;

    /**
     * 状态 0 购买  1退货  2 处理中
     */
    private Integer status;


}
